package com.xbongbong.pro.label.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author guohui.zhang
 * @Title: 标签排序pojo
 * @date 2020/11/316:43
 */
@Getter
@Setter
@ToString
public class LabelSortPojo implements Serializable {
    private static final long serialVersionUID = 4551156755505765945L;
    /**
     * 分类id
     */
    @NotNull(message = "id不可为空")
    private Long id;
    /**
     * 排序值
     */
    @NotNull(message = "排序值不可为空")
    private Long sort;
}
